
ac.skill('大陨石术'){
    temp = '攻击触发',
    model1 = [[249.mdl]],
    model2 = [[44.mdl]],
    on_run = function(self,hero,target)
        local point1 = hero:get_point()
        local point2 = target:get_point()
        local angle = point1 / point2
        local time = 0.8
        local damage = self:dmg_get()
        point2:effect{
            model = self.model1,
            speed = 2,
            time = time,
        }
        ac.wait(time * 1000,function()
            local num = 3
            for a=1,num do
                local r = angle + a/num * 360
                local mover = point2:launch_wave(self.model2,r,1200,900)
                sc.loopUnit(0.03,mover,70,function(group,unit)
                    if unit:is_enemy(hero) then
                        hero:create_damage(unit,damage,self)
                    end
                end)
            end
        end)
    end
}